GUI Help > Create > createListView

createListView
int handle=createListView(int x, int y, int width, int height, handle parent)

Description:
Creates a listview. Listviews display items of data such as an image using an image and a piece of text.

Listviews have three ways of displaying items:
  • Icon: Items are positioned next to each other with large icons and a caption underneath.
  • List: Small icons are positioned one above another with small icons and a caption to the right of the text
  • Table: Similar to list, except that each item can have additional sub-items associated with it, under labelled columns.


Return Value:
Handle to the new gadget.

Parameters:
x X position of new gadget
y Y position of new gadget
width Width of new gadget in pixels
height Height of new gadget in pixels
parent Handle to the parent of the new gadget, or 0 for the main window
Remarks:


See Also:


Example:
(Note: You will need to include the GUI constants file for this example to work)